package com.dragon.pear.models.params.order;


/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 商品详情 排序参数
 * Explain:
 * 
 */
public class TradeGoodsDetailsOrderParam {
    // ID
    private int id;
    // 商品编号
    private int code;
    // 卖家留言
    private int sellerMsg;

    // 无参构造方法
    public TradeGoodsDetailsOrderParam() {
    }

    // 全参数构造方法
    public TradeGoodsDetailsOrderParam(int id, int code, int sellerMsg) {
        this.id = id;
        this.code = code;
        this.sellerMsg = sellerMsg;
    }

    // 全参数create生成器
    public static TradeGoodsDetailsOrderParam create(int id, int code, int sellerMsg) {
        return new TradeGoodsDetailsOrderParam(id, code, sellerMsg);
    }

    // 全参数of生成器
    public static TradeGoodsDetailsOrderParam of(int id, int code, int sellerMsg) {
        return new TradeGoodsDetailsOrderParam(id, code, sellerMsg);
    }
    // region Getter和Setter方法
    public int getId() {
        return id;
    }

    public TradeGoodsDetailsOrderParam setId(int id) {
        this.id = id;
        return this;
    }

    public int getCode() {
        return code;
    }

    public TradeGoodsDetailsOrderParam setCode(int code) {
        this.code = code;
        return this;
    }

    public int getSellerMsg() {
        return sellerMsg;
    }

    public TradeGoodsDetailsOrderParam setSellerMsg(int sellerMsg) {
        this.sellerMsg = sellerMsg;
        return this;
    }

    // endregion Getter和Setter方法
}
